// Decompiled by Jad v1.5.8f. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   Constraint.java

package org.fiel.commons.jdbc;


public class Constraint
{

    public Constraint(String fieldName, String operador, Object valor)
    {
        this.fieldName = fieldName;
        this.operador = operador;
        this.valor = valor;
    }

    public String toString()
    {
        return " " + fieldName + " " + operador + " ?";
    }

    public String getFieldName()
    {
        return fieldName;
    }

    public void setFieldName(String fieldName)
    {
        this.fieldName = fieldName;
    }

    public String getOperador()
    {
        return operador;
    }

    public void setOperador(String operador)
    {
        this.operador = operador;
    }

    public Object getValor()
    {
        return valor;
    }

    public void setValor(Object valor)
    {
        this.valor = valor;
    }

    protected String fieldName;
    protected String operador;
    protected Object valor;
}
